//---------------------------------------------------------------------------


#pragma hdrstop

#include "RmlObject.h"

#include <stdio.h>
//---------------------------------------------------------------------------

#pragma package(smart_init)

RmlObject::RmlObject(char * NameObj)
{
 strcpy(name,NameObj);

 //Object = this;
 //lRmlObject.push_back(this);
}
RmlObject::~RmlObject()
{
 ;
}
void    RmlObject::PutRmlObject( void *Obj)
{
 Object = Obj;
 sprintf(cName,"%s-%x",name,Obj);
}
//compare
bool RmlObject::Compare(const char *s)
{
 return (!strcmp(this->name,s));
}
